package com.homedo.odin.solution.model.request.activity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.homedo.odin.solution.model.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;

@ApiModel(description = "百名设计师提交参评方案接口")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class SolutionApplyInfoRequestBean extends BaseBean {


    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", required = true)
    @NotNull(message = "userId用户id非法参数")
    @Min(message = "userId用户id非法参数", value = 0)
    private Integer userId;

    /**
     * 方案ID
     */
    @ApiModelProperty(value = "方案ID", required = true)
    @NotNull(message = "solutionId方案ID非法参数")
    @Min(message = "solutionId方案ID非法参数", value = 0)
    private Long solutionId;

    /**
     * 设计师上传的申请表附件地址
     */
    @ApiModelProperty(value = "设计师上传的申请表附件地址", required = true)
//    @NotNull
//    @NotEmpty(message = "设计师上传的申请表附件地址不能为空")
    private String stylistInfoTableAddress;

    /**
     * 设计师参选信息表名称
     */
    @ApiModelProperty(value = "设计师参选申请表附件名称", required = true)
//    @NotNull
//    @NotEmpty(message = "设计师参选信息表名称不能为空")
    private String stylistInfoTableName;


}